//
//  UserDataCenter.h
//  Safflower
//
//  Created by 袁亮 on 2016/11/28.
//  Copyright © 2016年 Migic_Z. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserDataCenter : NSObject

- (void) userLoginWithPhone:(NSString *)phone password:(NSString *)password complation:(void(^)(id data))complation;

- (void) sendVerifyWithPhone:(NSString *)phone complation:(void(^)(id data))complation;

- (void) verifyCodeWithPhone:(NSString *)phone code:(NSString *)code complation:(void(^)(id data))complation;

- (void) regsitAccountWithUser:(UserModel *)user password:(NSString *)password complation:(void(^)(id error))complation;

@end
